package com.shenmazong.servereduuser.service;

import com.shenmazong.servereduuser.entity.TbUserRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shenmazong.utils.ResultResponse;
import com.shenmazong.vo.BatchChooseIdVo;

import java.util.ArrayList;

/**
 *
 */
public interface TbUserRoleService {

    ResultResponse createRoleToUser(Long userId, ArrayList<Long> roleIds);

    ResultResponse deleteRoleByUserRoleIds(BatchChooseIdVo chooseIdVo);

    ResultResponse getAllRoleByUserId(Long userId);

    ResultResponse updateRoleByUserId(TbUserRole userRole);
}
